package top.market.redis;
import cn.hutool.core.thread.ThreadUtil;

import java.util.concurrent.Callable;
import java.util.concurrent.Future;

public class LyhThreadUtils {

    public static Future execAsync(Runnable runnable) {
        Future<?> future = ThreadUtil.execAsync(runnable);
        return future;
    }

    public static Future execAsync(Callable callable) {
        Future<?> future = ThreadUtil.execAsync(callable);
        return future;
    }

}
